package com.tyssq.rocketmq.pojo;

import lombok.Getter;

/**
 * <p>
 * 主题枚举
 * </p>
 *
 * @author liaozhenghan
 * @date 2021-06-02 09:54:52
 */
@Getter
public enum TopicName {
    /**
     * 考勤设备上传的考勤信息
     */
    LABOUR_TOPIC("labour_topic", "考勤设备上传的考勤信息"),
    LABOUR_ATTENDANCE("LABOUR_ATTENDANCE", "劳务考勤"),

    PUSH_DATA("PUSH_DATA", "统一对外推送"),

    PUSH_DATA_KUN_TUO_DEVICE("PUSH_DATA_KUN_TUO_DEVICE", "推送坤拓设备"),
    PUSH_DATA_KUN_TUO_METRO_WORKER("PUSH_DATA_KUN_TUO_METRO_WORKER", "推送坤拓人员"),
    PUSH_DATA_KUN_TUO_ATTENDANCE("PUSH_DATA_KUN_TUO_ATTENDANCE", "推送坤拓考勤"),

    PUSH_DATA_DT4_ATTENDANCE("PUSH_DATA_DT4_ATTENDANCE", "推送地铁4号线考勤"),

    ATTENDANCE_ADD("ATTENDANCE_ADD", "考勤新增"),
    SAVE_PROJECT_WORKER("SAVE_PROJECT_WORKER", "保存班组人员"),
    SAVE_DEVICE("SAVE_DEVICE", "保存设备"),

    // 网关
    GATEWAY_PUSH_DATA("GATEWAY_PUSH_DATA", "网关回调"),
    GATEWAY_NOTIFY_DATA("GATEWAY_NOTIFY_DATA", "网关回调"),
    GATEWAY_LED_ONLINE_STATUS_CHANGE("GATEWAY_LED_ONLINE_STATUS_CHANGE", "LED在线状态变更"),
    GATEWAY_ATTENDANCE_ACCEPT("GATEWAY_ATTENDANCE_ACCEPT", "网关考勤接收"),
    DEVICE_FJ8_ONLINE_STATUS_CHANGE("DEVICE_FJ8_ONLINE_STATUS_CHANGE", "福聚8寸设备在线状态变更"),

    // 天马
    TIAN_MA_PUSH_DATA("TIAN_MA_PUSH_DATA", "天马推送"),

    // 班组
    LABOUR_TEAM_ADD("LABOUR_TEAM_ADD", "劳务班组新增"),
    LABOUR_TEAM_UPDATE("LABOUR_TEAM_UPDATE", "劳务班组更新"),

    // 设备
    LABOUR_DEVICE_OPERATE("LABOUR_DEVICE_OPERATE", "劳务设备操作"),

    // 人员
    LABOUR_WORKER_OPERATE("LABOUR_WORKER_OPERATE", "劳务人员操作"),

    // 项目人员
    LABOUR_PROJECT_WORKER_OPERATE("LABOUR_PROJECT_WORKER_OPERATE", "劳务项目人员操作"),

    // 绿色考勤新增
    TEMP_ATTENDANCE_ADD("TEMP_ATTENDANCE_ADD", "绿色考勤新增"),

    // 福富人脸库人脸新增
    FF_FACE_ADD("FF_FACE_ADD", "福富人脸库人脸新增"),

    // 安全帽扫码新增
    SAFETY_HAT_QR_ADD("SAFETY_HAT_QR_ADD", "安全帽扫码新增"),

    // 日考勤统计完成
    ATTENDANCE_DAY_CHANGE("ATTENDANCE_DAY_CHANGE", "日考勤统计完成"),

    // 链建
    PUSH_DATA_LIAN_JIAN_PROJECT("PUSH_DATA_LIAN_JIAN_PROJECT", "获取链建项目ID"),
    PUSH_DATA_LIAN_JIAN_TEAM("PUSH_DATA_LIAN_JIAN_TEAM", "推送链建班组"),
    PUSH_DATA_LIAN_JIAN_ATTENDANCE("PUSH_DATA_LIAN_JIAN_ATTENDANCE", "推送链建考勤"),

    // 项目变更
    PROJECT_CHANGE("PROJECT_CHANGE", "项目变更"),
    // 项目人员变更
    PROJECT_WORKER_CHANGE("PROJECT_WORKER_CHANGE", "项目人员变更"),

    // 拉取其它平台人员处理
    PULL_PERSON_DEAL("PULL_PERSON_DEAL", "拉取其它平台人员处理"),

    // 拉取其它平台处理
    PULL_DATA_DEAL("PULL_DATA_DEAL", "拉取其它平台处理"),

    // UWB
    UWB_LOCATION("UWB_LOCATION","UWB位置信息"),
    UWB_WARN("UWB_WARN","UWB报警信息"),
    UWB_BATTERY("UWB_BATTERY","UWB电量信息"),

    // LED显示推送
    PUSH_LED_SHOW("PUSH_LED_SHOW", "LED显示推送"),

    // 广联达非考勤数据推送
    GLD_UN_ATTENDANCE_PUSH("GLD_UN_ATTENDANCE_PUSH", "广联达非考勤数据推送"),

    // 福建人社
    FJ_TEMP_EXIT_ADD("FJ_TEMP_EXIT_ADD", "新增暂退场"),
    FJ_TEMP_EXIT_ADD_RESULT("FJ_TEMP_EXIT_ADD_RESULT", "新增暂退场结果"),
    FJ_ASYNC_HANDLE_RESULT_QUERY("FJ_ASYNC_HANDLE_RESULT_QUERY", "异步结果查询"),
    FJ_ASYNC_HANDLE_RESULT_QUERY_RESULT("FJ_ASYNC_HANDLE_RESULT_QUERY_RESULT", "异步结果查询结果"),
    ;
    private final String value;
    private final String description;
    TopicName(String value, String description) {
        this.value = value;
        this.description = description;
    }
}
